﻿namespace System
{
   using System.Data.Entity.Design.PluralizationServices;
   using System.Globalization;

   public static class StringExtensions
   {
      public static string Pluralize(this string name, string culture = "en-US")
      {
         return PluralizationService.CreateService(new CultureInfo(culture)).Pluralize(name);
      }
   }
}
